import { ArrayMaxSize, IsArray, IsString, Length } from 'class-validator'
import { Limits } from '@boticord/consts'

export class CrutchesDto {
  @IsArray()
  @ArrayMaxSize(Limits.MaxCrutchesIds)
  @IsString({ each: true })
  @Length(Limits.MinDiscordIdLength, Limits.MaxDiscordIdLength, { each: true })
  declare ids: string[]
}
